package com.ydj.app.entity.query;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ydj.app.entity.CsQrCode;
import com.ydj.framework.mysql.BaseQuery;
import com.ydj.framework.mysql.MysqlSort;

import java.util.List;


public class CsQrCodeQuery extends BaseQuery<CsQrCode> {
    public CsQrCodeQuery(IService<CsQrCode> service) {
        super(service);
    }

    public CsQrCodeQuery id(Long id) {
        eq(CsQrCode::getId, id);
        return this;
    }

    public CsQrCodeQuery ids(List<Long> value) {
        in(CsQrCode::getId, value);
        return this;
    }

    public CsQrCodeQuery orderByCreateTime(MysqlSort sort) {
        orderBy(CsQrCode::getCreateTime, sort);
        return this;
    }
}